projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
721c015
)
Revert unintended change to act-height calc
author
justbur
<justin@burkett.cc>
Wed, 8 Jul 2015 12:52:28 +0000
(08:52 -0400)
committer
justbur
<justin@burkett.cc>
Wed, 8 Jul 2015 12:52:28 +0000
(08:52 -0400)
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index f86248f1f0b3bb6ee92b59027d4dc63ba388b62e..3af32b891c8268652c3c276b9a2b37c19ad68273 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-417,7
+417,7
@@
the maximum number of lines availabel in the target buffer."
;; not doing anything with other pages for now
(setq pages (reverse pages)
first-page (concat prefix-string (car pages))
- act-height (
s-count-matches "\n" first-page
))
+ act-height (
1+ (s-count-matches "\n" first-page)
))
;; (when (> (length pages) 1) (setq first-page (concat first-page "...")))
(if (eq which-key-popup-type 'minibuffer)
(let (message-log-max) (message "%s" first-page))